
[#macro shopextShowView]
<div  class="model-form">
    <el-page-header @back="goBack" content="详情">
    </el-page-header>

        <div class="form-title">详细信息</div>
        <el-form class="viewForm" label-width="80px">
            <el-col :span="12">
                <el-form-item label="商家别名">
                    <div v-html="viewModel.name"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="联系人姓名">
                    <div v-html="viewModel.contact"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="联系人电话">
                    <div v-html="viewModel.phone"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="法人身份证">
                    <div v-html="viewModel.cardNo"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="法人身份证正面">
                    <div v-html="viewModel.cardNoFront"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="法人身份证反面">
                    <div v-html="viewModel.cardNoReverse"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="营业执照">
                    <div v-html="viewModel.license"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="银行开户许可证">
                    <div v-html="viewModel.permit"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="法人手持身份证">
                    <div v-html="viewModel.cardNoHand"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="平台联盟商家承诺书">
                    <div v-html="viewModel.letter"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="商家简介">
                    <div v-html="viewModel.note"></div>
                </el-form-item>
            </el-col>
        </el-form>

</div>
[/#macro]
[#macro shopextShowConfig]
<script type="text/x-template" id="my-shopext-show">
    [@shopextShowView /]
</script>
	<script type="text/javascript">
		//显示组件开始
		var shopextShowConfig = {};
		shopextShowConfig.template = "#my-shopext-show";
		shopextShowConfig.methods =config.basicMethod();
		shopextShowConfig.data = function () {
			return {
				viewModel: {
				},
				activeIndex: "1"
			}
		};


		shopextShowConfig.mounted = function () {
			var id = this.$route.query.id;
			var self = this;
			var data = {};
			data.id = id;
			this.postData("${siteurl}tenantRest/shopext/view.htm", data, function (res) {
				if (res.code == 0) {
					self.viewModel = res;

				}
			});
		}
		var shopextShowView = Vue.component('my-shopext-view', shopextShowConfig);
		//显示组件结束		
	</script>
[/#macro]


